home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A strongly magnifying reflection effect like a curved rear view mirror',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.17125,0.0616667,0.82375,0.931667),
- 'Darkness': 36,
- 'Defocus': 8,
- 'Frame': {
- 'FrameColor': (0,0,0),
- 'Material': App.Constants.LensFrameMaterial.DullRedPlastic,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 3
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (124,98,36),
- 'LightDirection': (0.708315,0.623344,-0.331259),
- 'HighlightSize': 21
- },{
- 'LightColor': (190,66,66),
- 'LightDirection': (-0.753217,-0.657772,-2.10734e-010),
- 'HighlightSize': 0
- }],
- 'MaxAmbience': 100,
- 'MinAmbience': 57
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'MapType': App.Constants.LensMapType.CurrentImage,
- 'PatternOpacity': 60
- },
- 'Gloss': 60,
- 'Magnification': 3,
- 'LensMaterial': {
- 'Color': (104,217,234),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 100,
- 'Refraction': 60,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 32
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-